﻿
namespace SelfMadeMillioniare.API.Helpers
{
    public static class UserHelper
    {
        static string GetUserFullName(string first_name, string last_name, string login)
        {
            if (!string.IsNullOrEmpty(first_name) && !string.IsNullOrEmpty(last_name))
            {
                return string.Format("{0} {1}", first_name, last_name);
            }
            else
            {
                return login;
            }
        }
    }
}